events {}
http {
	upstream flask {
		server 172.16.8.3:5000;
		server 172.16.8.2:5000;
	}
	
	server {
		listen 5000 ssl;
		ssl_certificate /etc/nginx/flask.crt;
		ssl_certificate_key /etc/nginx/flask.key;	
		location / {
			proxy_pass http://flask;
		}
	}
}
